package com.ptswitch.material.service;

import java.util.List;

import com.hxzon.project.ModelService;
import com.ptswitch.material.model.Material;

public interface MaterialService extends ModelService<Material> {
	public Material getByCode(String code);
	
	public List<Material> getByPcbDecal(String pcbDecal);
	
	public boolean existPcbDecal(String pcbDecal);

	public String emptyCode(String code);

	public List<Material> getList(String fieldName, String fieldString, long first, long size);

	public long countList(String fieldName, Object fieldString);

}
